﻿using FarmSmartSleep.Common.Dtos;
using MediatR;

namespace FarmSmartSleep.Organ.API.Application.ProductionManagement.MotherGivingBirthFile
{
    /// <summary>
    /// 种母管理
    /// </summary>
    public class MotherGivingBirthListCommon:IRequest<ResultPage<List<MotherGivingBirthListDto>>>
    {

        /// <summary>
        /// 种母耳号
        /// </summary>
        public int EweID { get; set; }
        /// <summary>
        /// 负责人
        /// </summary>
        public string? Leader { get; set; }
        /// <summary>
        /// 转出栋舍
        /// </summary>
        public int CurrentBarn { get; set; } = 0;

        /// <summary>
        /// 转入栋舍
        /// </summary>
        public int TransferBarn { get; set; } = 0;
        /// <summary>
        /// 窝号
        /// </summary>
        public int LitterID { get; set; } = 0;

        /// <summary>
        /// 开始时间
        /// </summary>
        public DateTime? MinDate { get; set; }
        /// <summary>
        /// 结束时间
        /// </summary>
        public DateTime? MaxDate { get; set; }

        /// <summary>
        /// 页数
        /// </summary>
        public int PageIndex { get; set; }
        /// <summary>
        /// 每页条数
        /// </summary>
        public int PageSize { get; set; }
    }
}
